<link rel="stylesheet" type="text/css" href="css/searchplayer.css" />

<div id='content'>
<div id="searchField" class="ui-widget">
<form action="?page=<?php echo $page; ?>" method="post" >
  <label for="tags" id="tagsLabel">Search for player or team:&nbsp </label>
  <input type='text' name='tags' id="tags" autofocus/>
  <input type='submit' name='submit' value='Find' class="FindButton">
</form>
<br />

<?php 
include "../Controller/SearchController.php";
?> 
<br />
<br />
</div>
</div>
  <script>
  $(function() {
    $( "#tags" ).autocomplete({
      source: <?php echo $json; ?>
    });
  });
  </script>
